﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL.Engine.Interface
{
    /// <summary>
    /// Generic Entity interface.
    /// </summary>
    /// <typeparam name="TKey">The type used for the entity Id.</typeparam>
    public interface IEntity<TKey>
    {
        TKey Id { get; set; }
        bool IsNew { get; }
    }
}
